

<?php $this->renderPartial('//partials/partnerMenu', array('partner'=>array('partnerid'=>$review['partnerid'], 'name'=>$review['pName'], 'advertCode'=>$advertCode, 'url'=>$review['partnerUrl'], 'type'=>$review['type']), 'cat'=>$cat, 'errorModel'=>$errorModel, 'userIsWork'=>$userIsWork, 'relProfiles'=>$relProfiles, 'subCats'=>$subCats,'show_tabs'=>0));?> 
<div class="padding040">
        
<?php echo CHtml::errorSummary($model); ?>
  
<h2 class="com_head">Комментарий</h2>
    
    <div class="comment_form_cut"></div>
<div  class=" comment_form">
    <?php echo CHtml::beginForm(); ?>

<div class="pull-left">
   <?php $model->text = $review['text']; ?>
    <?php echo CHtml::activeTextArea($model, 'text', array('style'=>'width:800px; height:150px', 'id'=>'editor', 'class'=>'text_area_comm')); ?>
    <?php echo CHtml::hiddenField('url', $review['url']); ?>
    <?php echo CHtml::hiddenField('partnerid', $review['partnerid']); ?>
    <?php echo CHtml::hiddenField('partnerUrl', $review['partnerUrl']); ?>
    <?php echo CHtml::hiddenField('catId', $review['catId']); ?>
</div>

        
        
  <div class="clearfix"></div> 
  
  <div style="height:20px;"></div>
   
    
  <div class="pull-left">
    
      <?php echo CHtml::submitButton('Изменить',array('class'=>'bt_submit_review', 'style'=>'padding:6px')); ?>
    <?php echo CHtml::link('Назад', Yii::app()->createUrl('partner/profile/review', array('url'=>$review['url'], 'partnerUrl'=>$review['partnerUrl'], 'catId'=>$review['catId'])), array('class'=>'bt_submit_review')); ?>
    
      
   </div>
 
   <div class="clearfix"></div> 
    
    <?php echo CHtml::endForm(); ?>
      
        
</div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</div>